package cn.cdeden.knowledge.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
    * 日历权限表
    */
@Data
@TableName(value = "sys_schedule_permissions")
public class SysSchedulePermissions {
    /**
     * 权限ID
     */
    @TableId(value = "permissions_id", type = IdType.AUTO)
    private Long permissionsId;

    /**
     * 权限名称
     */
    @TableField(value = "permissions_name")
    private String permissionsName;

    /**
     * 权限描述
     */
    @TableField(value = "details_describe")
    private String detailsDescribe;

    /**
     * 创建人ID
     */
    @TableField(value = "create_by")
    private Long createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * [为true时不能被删除]
     */
    @TableField(value = "cannot_delete")
    private String cannotDelete;

    public static final String COL_PERMISSIONS_ID = "permissions_id";

    public static final String COL_PERMISSIONS_NAME = "permissions_name";

    public static final String COL_DETAILS_DESCRIBE = "details_describe";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CANNOT_DELETE = "cannot_delete";
}
